package com.google.code.sip.ucenter.model;

import java.util.Date;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Reference;

/**
 * 火秀币帐户实体类
 * 
 * @author Liuye
 * 
 */
@SuppressWarnings("serial")
@Entity(noClassnameStored = true)
public class Account extends BaseEntity {
	/**
	 * 用户
	 */
	@Reference
	private User user;

	/**
	 * 余额
	 */
	private Long balance;

	/**
	 * 最后更新日期
	 */
	private Date latedUpdatedDate;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Long getBalance() {
		return balance;
	}

	public void setBalance(Long balance) {
		this.balance = balance;
	}

	public Date getLatedUpdatedDate() {
		return latedUpdatedDate;
	}

	public void setLatedUpdatedDate(Date latedUpdatedDate) {
		this.latedUpdatedDate = latedUpdatedDate;
	}
}
